package com.liqi.device.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.liqi.common.annotation.Excel;
import com.liqi.common.core.domain.BaseEntity;

/**
 * 分组对象 dv_group
 * 
 * @author Lwy
 * @date 2022-03-28
 */
@Data
public class DvGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 区域id */
    /*@Excel(name = "区域id")*/
    private String regionId;

    /** 区域祖籍列表 */
    /*@Excel(name = "区域祖级列表")*/
    private String regionAncestors;

    /** 选择省市区街道 */
    @Excel(name = "选择省市区街道", sort = 6)
    private String regionAncestorsName;

    /** 分组名称 */
    @Excel(name = "分组名称",sort = 6)
    private String name;

    /** 父分组id */
    @Excel(name = "父分组id",sort = 6)
    private Long parentId;

    /** 祖级列表 */
    @Excel(name = "祖级列表",sort = 6)
    private String ancestors;

    /** 部门ID */
    @Excel(name = "部门ID",sort = 6)
    private String deptId;

    /** 显示顺序 */
    @Excel(name = "显示顺序",sort = 6)
    private Long orderNum;

    /** 状态（0正常 1停用） */
//    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 创建用户id */
    @Excel(name = "创建用户id",sort = 6)
    private String createUserId;
    /** 是否有下一级 */
    private String haveChildren;
    /** 修改前的父类id */
    private Long oldParentId;

   
}
